import yagmail
def send_mail(filepath):
    mail = yagmail.SMTP(user='3406362198@qq.com',password='bcrgotjogidqcjjd',host='smtp.qq.com')
    mail.send(to='3406362198@qq.com',subject='gjh',contents='a3mall接口测试报告',attachments=filepath)



